package com.yikes.srb.pojo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.yikes.srb.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 积分等级表
 * </p>
 *
 * @author guanrong.yin
 * @since 2024-12-03
 */
@Getter
@Setter
@TableName("integral_grade")
@Schema(name = "IntegralGrade对象", description = "积分等级表")
public class IntegralGrade extends BaseEntity implements Serializable {

    @Schema(description = "编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "积分区间开始")
    @TableField("integral_start")
    private Integer integralStart;

    @Schema(description = "积分区间结束")
    @TableField("integral_end")
    private Integer integralEnd;

    @Schema(description = "借款额度")
    @TableField("borrow_amount")
    private BigDecimal borrowAmount;

}
